package com.lucher.mes.dao;

import java.util.List;

import com.lucher.mes.po.Tooldepot;
import com.lucher.mes.po.Tooldepot;

public interface TooldepotMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Tooldepot record);

    int insertSelective(Tooldepot record);

    Tooldepot selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Tooldepot record);

    int updateByPrimaryKey(Tooldepot record);
    
    //自定义接口
    List<Tooldepot> findByList(Tooldepot record);
    List<Tooldepot> findByListForPage(Tooldepot record);
    int findByCount(Tooldepot record);
    public Tooldepot findByToolcode(String toolcode);
}